package com.xj.edu.hotel.service.serviceImpl;

import com.xj.edu.hotel.domain.Message;
import com.xj.edu.hotel.domain.MessageExample;
import com.xj.edu.hotel.mapper.MessageMapper;
import com.xj.edu.hotel.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessageServiceImpl implements MessageService {

    @Autowired
    private MessageMapper messageMapper;

   public int insertMessage(Message message){
       return messageMapper.insertSelective(message);
   }

}
